package v1

import (
	"demo/internal/model/entity"

	"github.com/gogf/gf/v2/frame/g"
)

type ProfileReq struct {
	g.Meta `path:"/user/profile" method:"post" tags:"Test" summary:"Get the profile of current user"`
	Openid string `v:"required"`
	SignParams
}
type ProfileRes struct {
	*entity.User
}

type UpdateReq struct {
	g.Meta `path:"/updatenick" tags:"Hello" method:"post" summary:"You first hello api"`
}

type UpdateRes struct {
	g.Meta `mime:"text/html" example:"string"`
	Result interface{} `json:"result" dc:"查询结果集"`
}
